[gd_scene load_steps=25 format=1]

[ext_resource path="res://scripts/asteroid.gd" type="Script" id=1]
[ext_resource path="res://scripts/shader/asteroid.tres" type="Shader" id=2]
[ext_resource path="res://images/asteroids/asteroid09_n.png" type="Texture" id=3]
[ext_resource path="res://images/asteroids/asteroid09_c.png" type="Texture" id=4]



[sub_resource type="ConvexPolygonShape2D" id=2]

custom_solver_bias = 0.0
points = Vector2Array( -104, -48, -92, -56, -92, -50 )

[sub_resource type="ConvexPolygonShape2D" id=3]

custom_solver_bias = 0.0
points = Vector2Array( 124, 8, 136, 24, 146, 38, 134, 46, 120, 50, 110, 50, 100, 46, 92, 38, 88, 30 )

[sub_resource type="ConvexPolygonShape2D" id=4]

custom_solver_bias = 0.0
points = Vector2Array( 108, 80, 104, 88, 76, 88 )

[sub_resource type="ConvexPolygonShape2D" id=5]

custom_solver_bias = 0.0
points = Vector2Array( 118, -8, 124, 0, 124, 8, 88, 30, -22, -50 )

[sub_resource type="ConvexPolygonShape2D" id=6]

custom_solver_bias = 0.0
points = Vector2Array( -116, -26, -114, -38, -104, -48, -92, -50, -84, -42, -68, -22 )

[sub_resource type="ConvexPolygonShape2D" id=7]

custom_solver_bias = 0.0
points = Vector2Array( -86, 34, -98, 34, -126, 6, -116, -26, -68, -22, -50, 26 )

[sub_resource type="ConvexPolygonShape2D" id=8]

custom_solver_bias = 0.0
points = Vector2Array( 112, 64, 112, 72, 108, 80, 76, 88, 106, 58 )

[sub_resource type="ConvexPolygonShape2D" id=9]

custom_solver_bias = 0.0
points = Vector2Array( 80, 48, 98, 50, 106, 58, 76, 88, 70, 86, 66, 82, 66, 76 )

[sub_resource type="ConvexPolygonShape2D" id=10]

custom_solver_bias = 0.0
points = Vector2Array( 82, 38, 80, 48, 66, 76, 50, 74, 36, 70, -22, -50 )

[sub_resource type="ConvexPolygonShape2D" id=11]

custom_solver_bias = 0.0
points = Vector2Array( -108, 44, -118, 52, -128, 52, -136, 50, -144, 38, -144, 28, -140, 18, -126, 6, -98, 34 )

[sub_resource type="ConvexPolygonShape2D" id=12]

custom_solver_bias = 0.0
points = Vector2Array( -50, 26, -68, -22, -62, -22 )

[sub_resource type="ConvexPolygonShape2D" id=13]

custom_solver_bias = 0.0
points = Vector2Array( -50, 26, -62, -22, -32, -40, -36, 28 )

[sub_resource type="ConvexPolygonShape2D" id=14]

custom_solver_bias = 0.0
points = Vector2Array( 14, 70, 2, 66, -14, 54, -30, 36, -36, 28, -32, -40, -22, -50, 36, 70 )

[sub_resource type="ConvexPolygonShape2D" id=15]

custom_solver_bias = 0.0
points = Vector2Array( 88, 30, 82, 38, -22, -50 )

[sub_resource type="ConvexPolygonShape2D" id=16]

custom_solver_bias = 0.0
points = Vector2Array( 102, -40, 116, -34, 118, -30, 118, -8, -22, -50, -4, -78 )

[sub_resource type="ConvexPolygonShape2D" id=17]

custom_solver_bias = 0.0
points = Vector2Array( 88, -60, 98, -50, 102, -40, -4, -78, 74, -64 )

[sub_resource type="ConvexPolygonShape2D" id=18]

custom_solver_bias = 0.0
points = Vector2Array( 68, -70, 74, -64, -4, -78, 48, -74 )

[sub_resource type="ConvexPolygonShape2D" id=19]

custom_solver_bias = 0.0
points = Vector2Array( 2, -86, 16, -92, 26, -92, 48, -74, -4, -78 )

[sub_resource type="ConvexPolygonShape2D" id=20]

custom_solver_bias = 0.0
points = Vector2Array( 68, -70, 48, -74, 58, -74 )

[sub_resource type="CanvasItemMaterial" id=1]

shader/shader = ExtResource( 2 )
shader/shading_mode = 0
shader_param/normal = ExtResource( 3 )

[node name="Asteroid" type="RigidBody2D"]

visibility/light_mask = 5
input/pickable = false
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 3 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 4 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 5 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/3/trigger = false
shapes/4/shape = SubResource( 6 )
shapes/4/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/4/trigger = false
shapes/5/shape = SubResource( 7 )
shapes/5/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/5/trigger = false
shapes/6/shape = SubResource( 8 )
shapes/6/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/6/trigger = false
shapes/7/shape = SubResource( 9 )
shapes/7/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/7/trigger = false
shapes/8/shape = SubResource( 10 )
shapes/8/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/8/trigger = false
shapes/9/shape = SubResource( 11 )
shapes/9/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/9/trigger = false
shapes/10/shape = SubResource( 12 )
shapes/10/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/10/trigger = false
shapes/11/shape = SubResource( 13 )
shapes/11/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/11/trigger = false
shapes/12/shape = SubResource( 14 )
shapes/12/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/12/trigger = false
shapes/13/shape = SubResource( 15 )
shapes/13/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/13/trigger = false
shapes/14/shape = SubResource( 16 )
shapes/14/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/14/trigger = false
shapes/15/shape = SubResource( 17 )
shapes/15/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/15/trigger = false
shapes/16/shape = SubResource( 18 )
shapes/16/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/16/trigger = false
shapes/17/shape = SubResource( 19 )
shapes/17/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/17/trigger = false
shapes/18/shape = SubResource( 20 )
shapes/18/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/18/trigger = false
collision/layers = 1
collision/mask = 1
mode = 0
mass = 100.0
friction = 1.0
bounce = 0.0
gravity_scale = 1.0
custom_integrator = true
continuous_cd = 0
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
velocity/linear = Vector2( 0, 0 )
velocity/angular = 0.0
damp_override/linear = -1.0
damp_override/angular = -1.0
script/script = ExtResource( 1 )
__meta__ = { "__editor_plugin_screen__":"Script" }

[node name="Sprite" type="Sprite" parent="."]

visibility/light_mask = 5
material/material = SubResource( 1 )
texture = ExtResource( 4 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]

visibility/visible = false
build_mode = 0
polygon = Vector2Array( -92, -56, -92, -50, -84, -42, -68, -22, -62, -22, -32, -40, -22, -50, -4, -78, 2, -86, 16, -92, 26, -92, 48, -74, 58, -74, 68, -70, 74, -64, 88, -60, 98, -50, 102, -40, 116, -34, 118, -30, 118, -8, 124, 0, 124, 8, 136, 24, 146, 38, 134, 46, 120, 50, 110, 50, 100, 46, 92, 38, 88, 30, 82, 38, 80, 48, 98, 50, 106, 58, 112, 64, 112, 72, 108, 80, 104, 88, 76, 88, 70, 86, 66, 82, 66, 76, 50, 74, 36, 70, 14, 70, 2, 66, -14, 54, -30, 36, -36, 28, -50, 26, -86, 34, -98, 34, -108, 44, -118, 52, -128, 52, -136, 50, -144, 38, -144, 28, -140, 18, -126, 6, -116, -26, -114, -38, -104, -48 )
shape_range = Vector2( 0, 18 )
trigger = false


